{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">经营管理模块</a>
            </li>

            <li class="active">投标立项申请</li>
        </ul><!-- .breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div><!-- #nav-search -->
    </div>

    <div class="page-content">
        <div class="page-header">
            <h1 style="margin-left: 350px">
                投标立项申请表
            </h1>
        </div>

        <div class="row">
            <div class="col-xs-12">
                <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" action="/admin/bids/projectDoAdd" name="form1">
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 项目名称 : </label>

                        <div class="col-sm-9">
                            <input type="text"  id="project" placeholder="projectName" name="bid_project" class="col-xs-10 col-sm-5" />
                        </div>
                    </div>

                    <div class="space-4"></div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 招标单位 : </label>

                        <div class="col-sm-9">
                            <input type="text" id="form-field-2" onfocus="changs(this)" placeholder="tenderer" name="tenderer" class="col-xs-10 col-sm-5" />
                        </div>
                    </div>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 招标时间 : </label>

                        <div class="col-sm-9">
                            <input type="date" id="form-field-2"  name="bids_time" class="col-xs-10 col-sm-5" />
                        </div>
                    </div>
                    <div class="space-4"></div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 招标地点 : </label>

                        <div class="col-sm-9">
                            <input type="text" id="form-field-2" placeholder="address" name="bids_address" class="col-xs-10 col-sm-5" />
                        </div>
                    </div>

                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 需求分析 : </label>
                        <div class="col-sm-9 ">
                            <input type="file" id="form-field-1"  name="demand_analysis" class="col-xs-10 col-sm-5 dd" />
                            <!-- <a  class="btn btn-xs btn-danger" id="upload">点击上传</a> -->
                        </div>
                    </div>

                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 项目建议书 : </label>
                        <div class="col-sm-9">
                            <input type="file" id="form-field-2"  name="project_proposal" class="col-xs-10 col-sm-5 dd" />
                            <!-- <a  class="btn btn-xs btn-danger upload" >点击上传</a> -->
                        </div>
                    </div>
                    <div class="space-4"></div>
                    <div class="clearfix form-actions">
                        <div class="col-md-offset-3 col-md-9">
                            <button class="btn btn-info"  id="btn1" type="submit">
                                <i class="icon-ok bigger-110"></i>
                                发起流程
                            </button>
                            &nbsp; &nbsp; &nbsp;
                        </div>
                    </div>
            </form>
        </div>
    </div>
</div>

{/block}

{block name="myjs"}
{js href="/static/admin/assets/js/jquery.min.js"}
<script type="text/javascript">

    // $(function () {
    //        $("#upload").click(function () {
    //            var formData = new FormData($('#uploadForm')[0]);
    //           $.ajax({
    //             type: 'post',
    //              url: "{:url('/admin/bids/fileUpload/')}",
    //              data: formData,
    //              cache:false, 
    //              processData:false,
    //              cententType:false,
    //            }).success(function (data) {
    //               alert("上传成功");
    //            }).error(function () {
    //               alert("上传失败");
    //            });
    //         });
    // });


     

</script>

{/block}